//
//  XFDNetAction.h
//  BlocksKit
//
//  Created by 韩冰 on 2017/11/13.
//

#import <Foundation/Foundation.h>
typedef void(^BackClickBlock)(void);
typedef void(^InvalidRoleBlock)(NSString *tip);
@interface XFDNetAction : NSObject
@property (nonatomic, copy)BackClickBlock backClickBlock;
@property (nonatomic, copy)InvalidRoleBlock invalidRoleBlock;
//网络事件处理
+ (instancetype)share;
//无效token
- (void)no_token;
- (void)tokenIneffectiveness:(BackClickBlock)block;


/// 无效的角色
- (void)invalidRole:(NSString *)tip;
- (void)invalidRoleOnThisApp:(InvalidRoleBlock)block;
@end
